<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"> </meta>
	<title>菜单添加--layui后台管理模板</title>
	<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
	<meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
	<link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"></link>
	<style type="text/css">
		.layui-form-item .layui-inline{ width:33.333%; float:left; margin-right:0; }
		@media(max-width:1240px){
			.layui-form-item .layui-inline{ width:100%; float:none; }
		}
	</style>
</head>
<body class="childrenBody">
	<form class="layui-form" style="width:80%;" name="Url" id="Url">
		<div class="layui-form-item">
			<label class="layui-form-label">菜单名称</label>
			<div class="layui-input-block">
				<input type="text" name="title" class="layui-input " lay-verify="required" placeholder="请输入菜单名称"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">菜单路径</label>
			<div class="layui-input-block">
				<input type="text" name="href" class="layui-input " lay-verify="required" placeholder="请输入菜单路径"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">菜单orders</label>
			<div class="layui-input-block">
				<input type="text" name="orders" class="layui-input " lay-verify="required" placeholder="请输入菜单orders"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">菜单父ID</label>
			<div class="layui-input-block">
				<input type="text" name="pid" class="layui-input " lay-verify="required" placeholder="请输入菜单父ID"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">icon</label>
			<div class="layui-input-block">
				<input type="text" name="icon" class="layui-input " lay-verify="required" placeholder="请输入icon"></input>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="addUrl">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/addurl.js}"></script>
</body>
</html>